{layout name="layout" /}
<div class="wrap auto row review">
    <div class="col-100">
        <div class="detail row">
            <div class="col-s10 col-m20"><img src="__STATIC__/{$info.miniapp_dir}/logo.png" class="applogo"/></div>
            <div class="col-s90 col-m80">
                <div class="miniapp-title">
                    <div>{$info.title}</div>
                    <div class="tags">
                        {switch $info.types}
                        {case mp}<span class="badge bg-blue">公众号</span>{/case}
                        {case program}<span class="badge bg-red">小程序</span>{/case}
                        {case app}<span class="badge bg-yellow">APP</span>{/case}
                        {case mp_program}<span class="badge bg-green">小程序/公众号</span>{/case}
                        {case mp_program_app}<span class="badge bg-green">小程序/公众号/APP</span>{/case}
                        {default /}<span class="badge">应用异常</span>
                        {/switch}  
                    </div>
                </div>
                <div class="miniapp-footer">{$info.describe}</div>
            </div>
        </div>
        <div class="appinfo row">
            <div class="col-s60 col-m100">
                <h4>{$info.title}  信息</h4>
                <div class="infobar">
                    <p><label>开通价格：</label>￥<span class="sell_price">{$info.sell_price}</span></p>
                    <p><label>当前版本：</label>{$info.version}</p>
                    <p><label>更新时间：</label>{$info.update_time|date='Y-m-d'}</p>
                    <p><label>体验天数：</label>{$info.expire_day} 天</p>
                    <p><label>接入方式：</label>{$info.is_openapp?'注册及用':'独立发布'}</p>
                </div>
            </div>
            <div class="col-s40 hide-m">
                <div class="detail-qrcode"><img src="{$info.qrcode}" /><p>微信扫码体验</p></div>
            </div>
        </div>
        <div class="apppic">
            <h4>{$info.title} 展示</h4>
            <div class="row">
                {foreach $style_pic as $img}
                <div class="col-25"><div class="app_pic"><img src="{$img}" /></div></div>
                {/foreach}
            </div>
        </div>
        <div class="apptext">
            <h4>{$info.title} 介绍</h4>
            <div class="app_content">{$info.content|dehtml|raw}</div>
        </div>
    </div>
</div>